package com.leonard.java.impl;

import com.leonard.java.IJdkService;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author wanghc3
 * @description
 * @date 2021/6/21 19:51
 */
@Service
public class IJdkServiceImpl implements IJdkService {

    /**
     * JDK8特性方法
     *
     * @param str
     */
    @Override
    public Map<String, Object> featuresMethod(String str) {

        //1、接口默认实现方法
        defaulMethod(str);

        //2、lamdba表达式

        return null;
    }
}
